package com.buke66.taoduo.coupons.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.buke66.taoduo.common.utils.PageUtils;
import com.buke66.taoduo.common.utils.Query;

import com.buke66.taoduo.coupons.dao.CouponsSeckillSkuNoticeDao;
import com.buke66.taoduo.coupons.entity.CouponsSeckillSkuNoticeEntity;
import com.buke66.taoduo.coupons.service.CouponsSeckillSkuNoticeService;


@Service("couponsSeckillSkuNoticeService")
public class CouponsSeckillSkuNoticeServiceImpl extends ServiceImpl<CouponsSeckillSkuNoticeDao, CouponsSeckillSkuNoticeEntity> implements CouponsSeckillSkuNoticeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CouponsSeckillSkuNoticeEntity> page = this.page(
                new Query<CouponsSeckillSkuNoticeEntity>().getPage(params),
                new QueryWrapper<CouponsSeckillSkuNoticeEntity>()
        );

        return new PageUtils(page);
    }

}